import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const actions = {}

const mutations = {}

const state = {
	todos:[
		{id:'g76tyds76d',title:'吃饭',done:true},
		{id:'9i8u9sadou',title:'睡觉',done:false},
		{id:'oi7y87h898',title:'学习',done:true}
	]
}

export default new Vuex.Store({
	actions,
	mutations,
	state
})